<?php
require_once 'adminmenu.php';
$content = new Models_User();
$valid = $content->validateRole($_POST);
if($valid)
{
    echo '<div class="alert alert-danger">';
    foreach ($valid as $value)
    {
        echo '<h4>' . $value . '</h4>';
    }
    echo '</div>';
} else {
    $content->setRole($_POST);
}
?>
<div class="alert alert-success">
    <h4>Successful!</h4>
</div>